<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <th:block th:include="include :: header('订单详情')" />
    <!--360浏览器优先以webkit内核解析-->
    <title>成栈西饼店介绍</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/animate.min.css" th:href="@{/css/main/animate.min.css}" rel="stylesheet"/>
    <link href="../static/css/main/style.min862f.css" th:href="@{/css/main/style.min862f.css}" rel="stylesheet"/>

</head>

<body class="gray-bg">
 	<div class="container" style="margin-top:140px">
        <button type="button" class="btn btn-primary btn-lg btn-block" style="height:100px" onclick="sleOrder()">查询订单</button>
        <button type="button" class="btn btn-primary btn-lg btn-block" style="height:100px;margin-top:50px;" onclick="addOrder()">新订单</button>
        <button type="button" class="btn btn-primary btn-lg btn-block" style="height:100px;margin-top:50px;" onclick="todayOrder()">每天订单数</button>
	</div>

    <th:block th:include="include :: footer" />

    <script th:inline="javascript">
        var add = ctx + "system/orderhead/";

        function todayOrder() {
            var isHome = 1;
            var url = add + "/days";
            $.modal.openTab("每日订单", url);
        }
        function addOrder() {
            var url = add + '/indexAdd';
            $.modal.openTab("订单下单", url);
        }

        function sleOrder() {
            var url = add + '/0'
            $.modal.openTab("查询订单", url);
        }


    </script>
</body>
</html>
